package com.zw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zw.dto.BudgetDto;
import com.zw.entity.Budget;
import com.zw.entity.BudgetColumnsContent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BudgetMapper extends BaseMapper<Budget> {
    List<Budget> selectByDto(BudgetDto budgetDto);

    List<BudgetColumnsContent> selectColumnContent(List<Long> tempIds);

    List<Budget> selectByParentIds(@Param("dto") BudgetDto childDto);
}
